<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>tabs测试</title>
    <script src="jquery-easyui-1.9.10/jquery.min.js"></script>
    <script src="jquery-easyui-1.9.10/jquery.easyui.min.js"></script>
    <link rel="stylesheet" href="jquery-easyui-1.9.10/themes/default/easyui.css">
    <link rel="stylesheet" href="jquery-easyui-1.9.10/themes/icon.css">
    <script src="jquery-easyui-1.9.10/locale/easyui-lang-zh_CN.js"></script>
    <script>
        $(function () {
            $('#dg').datagrid({
                //一个从远程站点请求数据的URL。
                url: '/list',
                method:'GET',
                columns: [[
                    {field: 'id', title: 'ID', width: 100},
                    {field: 'orderNo', title: 'orderNo', width: 100},
                    {field: 'ordername', title: 'ordername', width: 100},
                    {field: 'ordertype', title: 'ordertype', width: 100},
                    {field: 'orderstatus', title: 'orderstatus', width: 100, align: 'right'}
                ]]
            });
        });
    </script>
</head>
<body>
<table id="dg" style="width: auto"></table>
</body>
</html>